package com.wa.dto;

import com.wa.enums.OperationLogTemplateEnum;
import com.wa.pojo.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 操作日志信息
 * @Author Dawn
 * @Date 2021/10/28 9:45
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class OperationLogInfoDto extends BaseEntity {

    /**
     * 操作实体id
     */
    private Long entityId;

    /**
     * 操作实体名称
     */
    private String entityName;

    /**
     * 操作日志描述模板
     */
    private OperationLogTemplateEnum operationLogTemplate;

    /**
     * 日志描述变量值
     */
    private Map<String, Object> descParamMap;

}
